<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul li{
            list-style: none;
            border: 2px solid gold;
            margin-top: 5px;
        }
    </style>
</head>
<body>
    <ul>
        <li>第一个</li>
        <li>第二个</li>
        <li>第三个</li>
        <li>第四个</li>
        <li>第五个</li>
    </ul>
    <script>
        var oUi=document.querySelector("ul");
        oUi.onclick=function(evt){
            var e=evt||window.event;
            console.log(e.target||e.srcElement);
        }
    </script>
</body>
</html>